home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 20
/
Cream of the Crop 20 (Terry Blount) (1996).iso
/
os2
/
xdsn217.zip
/
CDEF
/
signal.def
< prev
next >
Wrap
Text File
|
1995-05-31
|
606b
|
31 lines
(* Copyright (c) xTech 1993,95. All Rights Reserved *)
<*+ CSTDLIB *>
<*+ NOHEADER *>
<*+ M2EXTENSIONS *>
DEFINITION MODULE [2] signal;
FROM SYSTEM IMPORT int;
TYPE sig_atomic_t;
TYPE sigfun = PROCEDURE (int);
PROCEDURE signal (signo: int; func: sigfun);
PROCEDURE raise (signo: int);
(* it is constants indeed but declared as read-only variables *)
(* to provide portability *)
VAR
SIG_DFL -: sigfun;
SIG_ERR -: sigfun;
SIG_IGN -: sigfun;
SIGABRT -: int;
SIGFPE -: int;
SIGILL -: int;
SIGINT -: int;
SIGSEGV -: int;
SIGTERM -: int;
END signal.